cmake_minimum_required(VERSION 3.24)
project(learnOpenGL)

set(CMAKE_CXX_STANDARD 17)

include_directories(3rdparty)
include_directories(3rdparty/glad/include)

add_executable(learnOpenGL main.cpp 3rdparty/glad/src/glad.c Shader.cpp Renderer.cpp Model.cpp 3rdparty/stb_image.cpp Texture.cpp Camera.cpp Mouse.cpp Mesh.cpp)
#add_executable(learnOpenGL test/test.cpp)

target_link_libraries(learnOpenGL -lglfw3 -lGL -lX11 -lpthread -lXrandr -lXi -ldl -lassimp)